<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//ZH" "http://www.w3.org/TR/html4/loose.dtd">
<html style="background:#ffffff">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Log in</title>
    <link href="css/examples-offline.css" rel="stylesheet">
</head>
<body>
<script>
if (window.top.location.href != window.location.href)
{
	window.top.location.href="{$smarty.server.REQUEST_URI}";
}
</script>
<form action='?act=user.login' method='post'>
	<table class="login">
		<tr>
		<td>用户名：</td>
		<td><input type="text" name='user_name' size="20" maxlength="12" value="{if $user_name}{$user_name}{/if}"/></td>
		</tr>
		<tr>
		<td>密码：</td>
		<td><input type="password" name='password' size="20" maxlength="12" value="{if $password}{$password}{/if}"/></td>
		</tr>
		{if $msg}
		<tr>
		<td align="center" colspan=2><font color="red">{$msg}</font></td>
		</tr>
		{/if}
		<tr>
		<td align="center" colspan=2><input type="submit" value="登录"></td>
		</tr>
	</table>
</form>
</body>
</html>